<!doctype html>
<html>
    <head>
        <title>CSS Fonts test</title>
        <style type="text/css">
            h2 {
                font-family: sans-serif;
            }
            section {
                border: 1px solid black;
                border-radius: 8px;
                padding: 1em;
                margin: 1em;
            }
        </style>
    </head>
    <body>
        <h2>General tests</h2>
        <section>
            <p style="font: 20px monospace;">font: 20px monospace;</p>
            <p style="font: 12pt/14pt sans-serif;">font: 12pt/14pt sans-serif;</p>
            <p style="font: 80% cursive;">font: 80% cursive;</p>
            <p style="font: bold 80% cursive;">font: bold 80% cursive;</p>
            <p style="font: x-large/110% fantasy, serif;">font: x-large/110% fantasy, serif;</p>
            <p style="font: 400 2em SerenitySans;">font: 400 2em SerenitySans;</p>
            <p style="font: 400 200% SerenitySans;">font: 400 200% SerenitySans;</p>
            <p style="font: 400 x-large SerenitySans;">font: 400 x-large SerenitySans;</p>
            <p style="font: smaller SerenitySans;">font: smaller SerenitySans;</p>
            <p style="font: normal smaller SerenitySans;">font: normal smaller SerenitySans;</p>
            <p style="font: bold italic large Helvetica, sans-serif;">font: bold italic large Helvetica, sans-serif;</p>
            <p style="font: normal small-caps 120%/120% monospace;">font: normal small-caps 120%/120% monospace;</p>
            <p style="font: condensed oblique 12pt 'Helvetica Neue', serif;">font: condensed oblique 12pt "Helvetica Neue", serif;</p>
            <p style="font: condensed oblique 25deg 12pt 'Helvetica Neue', serif;">font: condensed oblique 25deg 12pt "Helvetica Neue", serif;</p>
            <p style="font-style: italic">font-style: italic</p>
        </section>

        <h2>Calc() values</h2>
        <section>
            <p style="font-family: 'Liberation Serif', cursive; font-size: calc(120% + 10px);">font-family: 'Liberation Serif', cursive; font-size: calc(120% + 10px);</p>
            <p style="font: calc(120% + 10px) 'Liberation Serif', cursive;">font: calc(120% + 10px) 'Liberation Serif', cursive;</p>
            <p style="font-family: 'Liberation Serif', cursive; font-weight: calc((200 * 3) + 100);">font-family: 'Liberation Serif', cursive; font-weight: calc((200 * 3) + 100);</p>
            <p style="font: calc((200 * 3) + 100) 20px 'Liberation Serif', cursive;">font: calc((200 * 3) + 100) 20px 'Liberation Serif', cursive;</p>
        </section>

        <h2>Fallback</h2>
        <section>
            <p style="font: 16pt 'fake font', not-real-font, 'SerenitySans', monospace;">font: 16pt 'fake font', not-real-font, 'SerenitySans', monospace;</p>
            <p style="font-family: 'fake font', not-real-font, 'SerenitySans', monospace;">font-family: 'fake font', not-real-font, 'SerenitySans', monospace;</p>
        </section>

        <h2>Fonts with multiple faces</h2>
        <section>
            <p style="font: 20px 'Liberation Serif';">font: 20px 'Liberation Serif';</p>
            <p style="font: italic 20px 'Liberation Serif';">font: italic 20px 'Liberation Serif';</p>
            <p style="font: bold 20px 'Liberation Serif';">font: bold 20px 'Liberation Serif';</p>
            <p style="font: bold italic 20px 'Liberation Serif';">font: bold italic 20px 'Liberation Serif';</p>
        </section>
    </body>
</html>
